@layout("/common/_form.html",{js:["/assets/dms/directory/directory_add.js","/assets/dms/directory/directory_add.js"]}){

<form class="layui-form" id="directoryForm" lay-filter="directoryForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <!--<div class="layui-card-header">基本信息</div>-->
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="directoryId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">上级目录ID<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="parentId" id="parentId" lay-verify="required" lay-filter="xmFilter">
                                <option value=""></option>
                                <option value="0">顶级分类</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">目录名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入目录名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <!--    <div class="layui-inline layui-col-md12">
                           <label class="layui-form-label">上级目录ID<span style="color: red;">*</span></label>
                           <div class="layui-input-block">
                               <input id="parentId" name="parentId" placeholder="请输入上级目录ID" type="text" class="layui-input" lay-verify="required" required/>
                           </div>
                       </d             <!--         <div class="layui-inline layui-col-md12">
                           <label class="layui-form-label">文件类型<span style="color: red;">*</span></label>
                           <div class="layui-input-block">
                               <input id="fileType" name="fileType" placeholder="请输入文件类型" type="text" class="layui-input" lay-verify="required" required/>
                           </div>
                       </div>
                       <div class="layui-inline layui-col-md12">
                           <label class="layui-form-label">拥有者ID<span style="color: red;">*</span></label>
                           <div class="layui-input-block">
                               <input id="owerId" name="owerId" placeholder="请输入拥有者ID" type="text" class="layui-input" lay-verify="required" required/>
                           </div>
                       </div>
                       <div class="layui-inline layui-col-md12">
                           <label class="layui-form-label">状态<span style="color: red;">*</span></label>
                           <div class="layui-input-block">
                               <input id="status" name="status" placeholder="请输入状态" type="text" class="layui-input" lay-verify="required" required/>
                           </div>
                       </div>
                       <div class="layui-inline layui-col-md12">
                           <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                           <div class="layui-input-block">
                               <input id="sort" name="sort" placeholder="请输入排序" type="text" class="layui-input" lay-verify="required" required/>
                           </div>
                       </div>-->
                   <!-- <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">添加时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入添加时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">修改时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateTime" name="updateTime" placeholder="请输入修改时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否删除<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ifDel" name="ifDel" placeholder="请输入是否删除" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">删除时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="deleteTime" name="deleteTime" placeholder="请输入删除时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}